package demo.android.com.mvpdemo.OKHttp.interceptor;


import java.io.IOException;

import demo.android.com.mvpdemo.OKHttp.Request;
import demo.android.com.mvpdemo.OKHttp.Response;

/**
 * Created by hcDarren on 2017/11/19.
 */

public interface Interceptor {
    Response intercept(Chain chain) throws IOException;
    interface Chain {
        Request request();

        Response proceed(Request request) throws IOException;
    }
}
